Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.platform.routing.dashboard.urlservice--urlpatterns

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dashboard.urlservice inside nuxeo-routing-dashboard-2021.7.jar /OSGI-INF/document-routing-dashboard-urlservice-contrib.xml

Extension Point

Extension point urlpatterns of component URLService.

Registration Order

5
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <urlPattern enabled="true" name="workflow">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>true</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>docpathworkflow</codecName>
          <actionBinding>
            #{restHelper.initContextFromRestRequest}
          </actionBinding>
          <documentViewBindingApplies>
            #{mainTabsActions.isOnMainTab('workflow_dashboard')}
          </documentViewBindingApplies>
          <documentViewBinding>
            #{restHelper.documentView}
          </documentViewBinding>
          <newDocumentViewBinding>
            #{restHelper.getNewDocumentView(null)}
          </newDocumentViewBinding>
          <bindings>
            <binding callGetter="false" name="tabId">
              #{webActions.currentTabId}
            </binding>
            <binding callGetter="false" name="subTabId">
              #{webActions.currentSubTabId}
            </binding>
            <binding name="tabIds">#{webActions.currentTabIds}</binding>
            <binding callGetter="false" name="language">
              #{restHelper.localeString}
            </binding>
          </bindings>
        </urlPattern>

XML Source

<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService">

    <urlPattern enabled="true" name="workflow">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>docpathworkflow</codecName>
      <actionBinding>
        #{restHelper.initContextFromRestRequest}
      </actionBinding>
      <documentViewBindingApplies>
        #{mainTabsActions.isOnMainTab('workflow_dashboard')}
      </documentViewBindingApplies>
      <documentViewBinding>
        #{restHelper.documentView}
      </documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.getNewDocumentView(null)}
      </newDocumentViewBinding>
      <bindings>
        <binding callGetter="false" name="tabId">
          #{webActions.currentTabId}
        </binding>
        <binding callGetter="false" name="subTabId">
          #{webActions.currentSubTabId}
        </binding>
        <binding name="tabIds">#{webActions.currentTabIds}</binding>
        <binding callGetter="false" name="language">
          #{restHelper.localeString}
        </binding>
      </bindings>
    </urlPattern>

  </extension>